﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing {
    import flash.text.*;

    public class ASFontAdvProperties {

        private var antiAliasType:String;
        private var gridFitType:String;
        private var sharpness:Number;
        private var thickness:Number;
        private var embedFonts:Boolean;

        public function ASFontAdvProperties(_arg1:Boolean=false, _arg2:String="normal", _arg3:String="pixel", _arg4:Number=0, _arg5:Number=0){
            this.embedFonts = _arg1;
            this.antiAliasType = _arg2;
            this.gridFitType = _arg3;
            this.sharpness = _arg4;
            this.thickness = _arg5;
        }
        public function getAntiAliasType():String{
            return (this.antiAliasType);
        }
        public function changeAntiAliasType(_arg1:String):ASFontAdvProperties{
            return (new ASFontAdvProperties(this.embedFonts, _arg1, this.gridFitType, this.sharpness, this.thickness));
        }
        public function getGridFitType():String{
            return (this.gridFitType);
        }
        public function changeGridFitType(_arg1:String):ASFontAdvProperties{
            return (new ASFontAdvProperties(this.embedFonts, this.antiAliasType, _arg1, this.sharpness, this.thickness));
        }
        public function getSharpness():Number{
            return (this.sharpness);
        }
        public function changeSharpness(_arg1:Number):ASFontAdvProperties{
            return (new ASFontAdvProperties(this.embedFonts, this.antiAliasType, this.gridFitType, _arg1, this.thickness));
        }
        public function getThickness():Number{
            return (this.thickness);
        }
        public function changeThickness(_arg1:Number):ASFontAdvProperties{
            return (new ASFontAdvProperties(this.embedFonts, this.antiAliasType, this.gridFitType, this.sharpness, _arg1));
        }
        public function isEmbedFonts():Boolean{
            return (this.embedFonts);
        }
        public function changeEmbedFonts(_arg1:Boolean):ASFontAdvProperties{
            return (new ASFontAdvProperties(_arg1, this.antiAliasType, this.gridFitType, this.sharpness, this.thickness));
        }
        public function apply(_arg1:TextField):void{
            _arg1.embedFonts = this.isEmbedFonts();
            _arg1.antiAliasType = this.getAntiAliasType();
            _arg1.gridFitType = this.getGridFitType();
            _arg1.sharpness = this.getSharpness();
            _arg1.thickness = this.getThickness();
        }
        public function toString():String{
            return (((((((((((("ASFontAdvProperties[" + "embedFonts : ") + this.embedFonts) + ", antiAliasType : ") + this.antiAliasType) + ", gridFitType : ") + this.gridFitType) + ", sharpness : ") + this.sharpness) + ", thickness : ") + this.thickness) + "]"));
        }

    }
}//package org.aswing 
